package com.jk.bgmainprovider.controller;

import com.jk.bgmainprovider.entity.IndentEntity;
import com.jk.bgmainprovider.service.echartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("echarts")
public class EchartsController {
    @Resource
    private echartsService echartsService;

    @RequestMapping("findEcharts")
    public List<IndentEntity>findEcharts(){

        return echartsService.findEcharts();
    }


}
